//app
const router = require('koa-router')()
const query = require("../utils/query");
router.prefix('/blf')

router.post('/list', async (ctx, next) => {

  let sql = "select * from sdata";

  let result = await query(sql)

  ctx.body = {
    code: 200,
    data: result
  }
})



module.exports = router